import Component from '@ember/component'
import $ from 'ember/jquery-ember-run'

export default Commponent.extend({

    willRender(){
        $.getJSON('/drafts').then(data => {
            this.set('drafts', data);
          });
    }
})